package code

import "gitee.com/liuxuezhan/ar-platform/base-common/xcode"

var (
	RegisterNameEmpty = xcode.New(20001, "注册名字不能为空") // 注册名字为空
	RegisterDuplicate = xcode.New(20002, "重复注册")     // 注册名字为空
	GenTokenFailed    = xcode.New(20003, "token生成失败")
	ParseTokenFailed  = xcode.New(20004, "token解析失败")
)

var (
	ParameterError     int32 = 10001 // 参数错误
	BasicError         int32 = 10002 // 基础错误
	TokenError         int32 = 10003 // token错误
	DBError            int32 = 10004 // 数据库错误
	RedisError         int32 = 10005 // redis错误
	RPCError           int32 = 10006 // rpc错误
	TokenvalidateError int32 = 10006 // token验证错误
)
